package com.logAndSignConsummer.service;

import entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * The interface User service feign.
 *
 * @author overlook
 * @date 2022 -04-16 20:13:49
 */
@FeignClient(name = "log-p")
public interface UserServiceFeign {
    /**
     * Find all user string.
     *
     * @param user the user
     * @return the string
     */
    @RequestMapping("/user/findAllUser")
    @ResponseBody
    String findAllUser(@RequestBody User user);
}
